<template>
  <div>
    <h2>{{ msg }}</h2>
    <span>{{$route.params.newsId}}</span>
    <p>
      {{$route.params.newsTitle}}
    </p>
  </div>
</template>

<script>
  export default {
    name: 'Params',
    data () {
      return {
        msg: 'This is Params file'
      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
